package codej.fit.fixtures;

import static codej.gen.Generators.*;
import codej.ast.*;
import fit.*;

public class JavaFixture extends ColumnFixture {

	public String source;

	private String clean(String generated) {
		return generated.replaceAll("\n", "").replaceAll("  ", " ").trim();
	}

	protected String getSource() {
		return source;
	}

	protected Node parsedNode(String source) {
		return null;
	}

	public String recognized() {
		return clean(generated(java(parsedNode(source))));
	}

}
